<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <!-- 
    cloneNode()
      复制节点,括号为空，或者里面的内容为false,则为浅拷贝只复制标签不复制里面的内容
   -->
  <ul>
    <li>1111</li>
    <li>haoenien</li>
    <li>haoenien</li>
    <li>haoenien</li>
  </ul>
</body>
<script>
  let ul = document.querySelector("ul");
  let lili = ul.children[0].cloneNode(true);
  ul.appendChild(lili);
</script>

</html>